SOS_GEN_PARAM

Section: SOS META CLASSES (3S)
Updated: 9/11/91
Index Return to Main Contents
man2html: unable to open or read file /usr/lib/ms/ms.acc
 

NAME

sos_Gen_param - Class for description of generic parameters of a generic type  

SYNOPSIS

#include "<SOS>/include/mta_sos.h"

class sos_Gen_param : sos_Type_name, sos_Named
{
public:
   sos_String           name;  
   sos_Type_name        super_class;

   sos_Schema_type      make_type ();      // redefined (-> sos_Type_name)
   sos_String           make_type_name (); // redefined (-> sos_Type_name)
};
 

DESCRIPTION

sos_Gen_param provides means to give generic parameter specifications of a generic class. In detail this means the name and the type, of which the actual generic parameter must be a subclass.

[get/set]_name(...)
holds the name of the generic parameter in form of an sos_String.
[get/set]_super_class(...)
specifies the required type, from which the actual generic parameter must be derived. NO_OBJECT represents sos_Object.
make_type ()
yields always super_class, except for the case that super_class contains NO_OBJECT. Then, sos_Object_type is returned.
make_type_name ()
yields self.make_type().make_type_name().
 

FILES

<SOS>/src/mta/mta.sos
SOS schema file

<SOS>/src/mta/mta_sos.h
complete schema interface

<SOS>/src/mta/mta_use.h
restricted schema interface

<SOS>/src/mta/mta.c
method implementation

<SOS>/lib/sos.a
SOS library
 

SEE_ALSO

sos_Class_type(3), sos_Generic_instantiation(3)  

AUTHOR

Axel Uhl


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE_ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 00:37:57 GMT, March 30, 2022